package com.xbongbong.paas.pojo.dto;

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * Description: 单个节点的摘要信息
 *
 * @author 李杰
 * @date 2019/3/18 10:58
 * @version v1.0
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class ProcessNodeItemDTO extends BaseDTO {
    private static final long serialVersionUID = -8216064712034729466L;

    /**
     * 节点id
     */
    @NotNull(message = "{dto.msg.processNodeItem.nodeTaskId.NotNull}")
    private Long nodeTaskId;
    /**
     * 流程类型
     */
    @NotNull(message = "{dto.msg.processNodeItem.processType.NotNull}")
    private String processType;

}
